<?php defined('RUN_KATANA') or die('Restricted access'); ?>
<?php echo $commander->getListCommandsPanel('s', ''); ?>
<fieldset class="edit_form">
	<label for="title"><?php echo ucfirst($txt->getWord('title')); ?></label>
    <?php echo $commander->getErrorField('title'); ?>
    <?php echo $commander->getInfoField('title'); ?>
    <input name="title" class="large" type="text" value="<?php echo $siteAdmin->Sitemap->CurrentPage->getTitle(); ?>" maxlength="60"><br /><br />
	<hr />
    <label for="MetaTitle">Meta <?php echo ucfirst($txt->getWord('title')); ?></label>
    <?php echo $commander->getErrorField('MetaTitle'); ?>
    <?php echo $commander->getInfoField('MetaTitle'); ?>
    <input name="MetaTitle" class="large" type="text" value="<?php echo $siteAdmin->Sitemap->CurrentPage->getMetaTitle(); ?>" maxlength="200"><br /><br />
    
    <label for="meta_data"><?php echo ucfirst($txt->getWord('meta_description')); ?></label>
    <?php echo $commander->getErrorField('meta_desc'); ?>
    <?php echo $commander->getInfoField('meta_desc'); ?>
    <textarea rows="4" class="txt autogrow large limit_200" id="meta_desc" name="meta_desc"><?php echo $siteAdmin->Sitemap->CurrentPage->getMetaDesc(); ?></textarea><span class="limit"></span><br />
    <label for="meta_key"><?php echo ucfirst($txt->getWord('meta_keywords')); ?></label>
    <?php echo $commander->getErrorField('meta_key'); ?>
    <?php echo $commander->getInfoField('meta_key'); ?>
    <textarea rows="4" class="txt autogrow large limit_200" id="meta_key" name="meta_key"><?php echo $siteAdmin->Sitemap->CurrentPage->getMetaKey(); ?></textarea><span class="limit"></span><br />
	<hr />
    <label for="search_index"><?php echo ucfirst($txt->getWord('search_index')); ?></label>
    <?php echo $commander->getErrorField('search_index'); ?>
    <?php echo $commander->getInfoField('search_index'); ?>
    <textarea rows="10" disabled="disabled" class="txt large" id="search_index" name="search_index"><?php echo $siteAdmin->Sitemap->CurrentPage->getSearchIndex(); ?></textarea><span class="limit"></span><br />
</fieldset>